import HttpUtils from '../HttpUtils/HttpUtils';Page({
	...HttpUtils.func,
	data: {
		title: '',
		code: '',
		meetId: '',
		sign: '',
		status: '',
	},
	onLoad(params) {
		this.setData({
			title: params.title,
			code: params.code,
			meetId: params.meetId,
			status: params.status,
			sign: params.code == 1 ? 4 : params.sign,
		});

	},
	onReachBottom() {
		// 页面被拉到底部
		// if (this.data.pageIndex > this.data.totalPages) {
		//   this.showPageMsg("tips","没有更多数据了!");
		// } else {
		//   this.loadMsg();
		// }
	},
	onPullDownRefresh: function() {
		// this.setData({
		//   pageIndex:1,
		//   msgList:[]
		// });
		// this.loadMsg();
		// dd.stopPullDownRefresh();
	},
	goMeeting(e) {
		var meetId = this.data.meetId;
		var status = this.data.status;
		var sign = this.data.sign;
		var pageUrl = '../meetingDetail/meetingDetail?meetId=' + meetId + '&status=' + status + '&sign=' + sign;
		// var pageUrl = '/pages/meetingDetail/meetingDetail';
		dd.navigateTo({
			url:pageUrl,
		})
	}
});
